package org.lboot.flow.module.work;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.lboot.jpa.jpa.AbstractJpaCurdExt;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
public class FlowWorkServiceImpl extends AbstractJpaCurdExt<String,FlowWork,FlowWorkDAO> implements FlowWorkService{
    @Override
    public List<FlowWork> getByRootFlowId(String rootFlowId) {
        return dao.findByRootFlowId(rootFlowId);
    }
}
